package com.icode.mvc.controller;

import com.icode.mvc.dispatch.ModelAndView;
import com.icode.mvc.exception.ControllerException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * User: Alex Zhong
 * Date: 2016/2/3
 */
public interface Controller {

    ModelAndView control(HttpServletRequest request, HttpServletResponse response) throws ControllerException;
}
